// @Author miaoqing
// @Date 2024/10/21 16:44:00
// @Desc
package common

const (
	PackingTimeOut = 1
)

type MsgSendData struct {
	Cmd  int    `json:"cmd"`
	Data string `json:"data"`
}

type MsgRecvData struct {
	Cmd  int    `json:"cmd"`
	Data string `json:"data"`
}

type WorldMsgData struct {
	RobotId  uint64
	RecvData *MsgRecvData
}

type WorldAddRobot struct {
	RobotId uint64
	Address string
}

type GoalPoint struct {
	X   float32 `json:"x"`
	Y   float32 `json:"y"`
	Yaw float32 `json:"yaw"`
}

type RobotInfo struct {
	RobotId int `json:"robotId"`
}

type BackPackingMsg struct {
	BackpackCmd int `json:"backpackCmd"`
}

type RepeatMsgData struct {
	Msg      interface{}
	SendTime int64
}

type GoalResult struct {
	Result bool `json:"result"`
}
